import router from '@/router';
export function installHandle(message) {
  if (router.currentRoute.value.path !== '/install') {
    router.push('/install');
  }
  return Promise.reject(new Error(message || 'Error'));
}
